package com.cskaoyan.market.service.wx;

import com.cskaoyan.market.db.domain.MarketOrderGoods;
import com.cskaoyan.market.vo.wx.lhh.OrderInfoVo;
import com.cskaoyan.market.vo.wx.lhh.WxOrderVo;

import java.util.List;

public interface WxOrderService {
    List<WxOrderVo> orderList(List<Short> orderStatus, Integer page, Integer limit);


    OrderInfoVo getOrderInfo(Integer orderId);

    List<MarketOrderGoods> getOrderGoodsList(Integer orderId);

    int cancelOrderByOrderId(Integer orderId);

    int refundOrderByOrderId(Integer orderId);

    int deleteOrderByOrderId(Integer orderId);

    int confirmOrderByOrderId(Integer orderId);

    int commentOrderGoods(Integer orderGoodsId, String content, Short star, Boolean hasPicture, String[] picUrls, Integer userId);

    MarketOrderGoods getOrderGoods(Integer orderId, Integer goodsId);

    Integer submitOrder(Integer cartId, Integer addressId, Integer couponId, Integer userCouponId, String message, Integer grouponRulesId, Integer grouponLinkId, Integer userId);

    Integer prepayOrder(Integer orderId);

}
